<%@ Page Language="C#" MasterPageFile="~/default.master" AutoEventWireup="true"
    CodeFile="NewClient.aspx.cs" Inherits="NewClient" %>

<%@ Register Src="~/controls/ctrlCustomerData.ascx" TagPrefix="own" TagName="ctrlCustomerData" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" runat="Server">
    <center>
        <div>
            <asp:Panel ID="pnlNewClient" runat="server">
                <div style="text-align: center; width: 100%;">
                    <asp:Label ID="lblError" runat="server" ForeColor="Red" Visible="false" EnableViewState="false"
                        Font-Bold="true"></asp:Label>
                </div>
                <own:ctrlCustomerData ID="ctrlCustomer" runat="server" Mode="NewAccount" ShowLabelInfo="false" />
                <div style="text-align: center;">
                    <asp:Label ID="lblError2" runat="server" ForeColor="Red" Visible="false" EnableViewState="false"
                        Font-Bold="true"></asp:Label>
                    <asp:Button ID="btnConfirm" runat="server" Text="<%$Resources:Language,CreateAccount %>"
                        OnClick="btnConfirm_Click" />
                </div>
            </asp:Panel>
            <asp:Panel ID="pnlInfo" runat="server" Visible="false" EnableViewState="false">
                <asp:Label ID="lblInfo" runat="server" Text="<%$ Resources:Language, NewClient_AccountCreatedInfo %>"></asp:Label>
            </asp:Panel>
        </div>
    </center>
</asp:Content>
